package com.xiaoshuidi.cloud.module.contract.vo;

import com.xiaoshuidi.cloud.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class CompanyInvoiceReqVO extends PageParam {
    @Schema(description = "企业id")
    @NotNull(message = "companyId不能为空")
    private Long companyId;
    @NotNull(message = "门店id不能为空")
    @Schema(description = "门店id")
    private Long apartmentId;
    @NotNull(message = "税号配置id不能为空")
    @Schema(description = "税号配置id")
    private Integer invoiceConfigId;
    @Schema(description = "费用类型1租金2其它")
    @NotNull(message = "feeType不能为空")
    private Integer invoiceFeeType;
    // 程序内设置, 不由前端传递
    private List<Long> feeDetailIds;
    private List<Long> feeIds;
}
